package com.wanmait.recruitment.mapper;

import com.wanmait.recruitment.pojo.Degree;

import java.util.List;

public interface DegreeMapper {
    int deleteByPrimaryKey(Integer id);
    //查询所有学历
    List<Degree> selectList();
    //根据名字查询学历信息
    Degree findByName(String name);
    int insert(Degree record);

    int insertSelective(Degree record);

    Degree selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Degree record);

    int updateByPrimaryKey(Degree record);
    void batchDel(List<Integer> ids);
    void del(Integer id);
}